import { WeaTools } from 'ecCom';

export const getMailTemplate = params => WeaTools.callApi('/api/email/setting/getMailTemplate', 'GET', params);

export const getEmailTemplateCondition = params => WeaTools.callApi('/api/email/condition/getEmailTemplateCondition', 'GET', params);

export const operateUserMailTemplate = params => WeaTools.callApi('/api/email/setting/operateUserMailTemplate', 'POST', params);

export const markUserMailTemplate = params => WeaTools.callApi('/api/email/setting/markUserMailTemplate', 'POST', params);

export const getMailTemplateBean = params => WeaTools.callApi('/api/email/setting/getMailTemplateBean', 'GET', params);

export const getEmailSysTemplateCondition = params => WeaTools.callApi('/api/email/template/getEmailSysTemplateCondition', 'GET', params);

export const markEmailSysTemplate = params => WeaTools.callApi('/api/email/template/markEmailSysTemplate', 'POST', params);

